#include "AbstractMediaSource.h"

#include <QFileInfo>

/**
 * operator < is impelmented by comparing base file names
 *
 * @return true is \p left is minor than \p right; false otherwise
 */
//bool operator <(const AbstractMediaSource &left, const AbstractMediaSource &right)
//{
//   QString baseLeft = QFileInfo( left.fileName() ).baseName();
//   QString baseRight = QFileInfo( right.fileName() ).baseName();

//   return  baseLeft < baseRight;
//}
